<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>blog-edit</title>
    <link rel="stylesheet" href='./css/common.css'>
    <link rel="stylesheet" href="./css/edit.css">
    <link rel="stylesheet" href="editor.md/css/editormd.min.css">
</head>
<body>
    <div class="nav">
        <img src="./img/四季如春.jpg" alt="" title="log图">
        <span class="title">我的博客系统</span>
        <a href="blog-list.html">主页</a>
        <a href="blog-edit.html">写博客</a>
        <a href="blog-login.html">退出</a>
    </div>

    <div class="blog-edit-container">
        <div class="title">
            <input type="text" placeholder="在这里写下文章标题">
            <button class="submit">发布文章</button>
        </div>

        <!-- 富文本标签 -->
        <div id="editor"></div>
    </div>

</body>
<script src="js/jquery-3.7.1.min.js"></script>
<script src='editor.md/lib/marked.min.js'></script>
<script src='editor.md/lib/prettify.min.js'></script>
<script src='editor.md/editormd.js'></script>

<script>
    let edit=editormd('editor', {
        width: '100%',
        height: 'calc(100%-60px)',
        path: './editor.md/lib/'
    });
</script>


</html>